Message Envelope

RFC 822 headers are mapped to MAPI properties as follows. PR_SENDER_* is an abbreviation for the following 5 properties:

PR_SENDER_NAME_V.O03

PR_SENDER_ADDRTYPE1K08047

PR_SENDER_EMAIL_ADDRESS181FCVX

PR_SENDER_SEARCH_KEYWIQ1YS

PR_SENDER_ENTRYID16DF3Y8

 

Similar abbreviations are used for PR_SENT_REPRESENTING_* and other groups of message properties.

SMTP header

MAPI property

From:

Outbound: PR_SENDER_*; inbound: PR_SENDER_* and PR_SENT_REPRESENTING_*

Date:

Outbound: current time; inbound: PR_MESSAGE_DELIVERY_TIMEKARQ1N

To:

PR_DISPLAY_NAME1KS30YA and PR_EMAIL_ADDRESSJ.C5HA for recipients where PR_RECIPIENT_TYPE1VRJ4HY is MAPI_TO

Cc:

PR_DISPLAY_NAME and PR_EMAIL_ADDRESS for recipients where PR_RECIPIENT_TYPE is MAPI_CC

Bcc:

PR_DISPLAY_NAME and PR_EMAIL_ADDRESS for recipients where PR_RECIPIENT_TYPE is MAPI_BCC

 

 

Received:

No corresponding MAPI property; put local host name and your component name here

Return-receipt-to:

PR_REPORT_NAME2V3L07D and PR_REPORT_ENTRYIDC59CFH

Reply-to:

PR_REPLY_RECIPIENT_ENTRIES29H9_SU and PR_REPLY_RECIPIENT_NAMES5XF3.O

Subject:

PR_SUBJECT2EJ7_LA
No particular length limitation.

MIME-version:

Always  1.0 

 

 

X-MS-Attachment:

For compatibility with MS Mail SMTP gateway.
filename size mm-dd-yyy hh:mm
Details below.

 

 

entire SMTP message envelope

PR_TRANSPORT_MESSAGE_HEADERS1.OJKRO

header name TBD

PR_SEND_RICH_INFO8AH081 for sender only.
The TBD header should be used to determine whether the sender is capable of interpreting TNEF content in a reply.

MessageID:

PR_TNEF_CORRELATION_KEYE_0SEH

Content-type

Either text/plain or multipart/mixed. See  Message Content  section.

 

The X-MS-Attachment header is formatted as four tokens, separated by a space:

          name size date time

The first token is the filename, which may contain embedded spaces, so this header should be parsed from the right on inbound messages. The size is in bytes; the date is formatted as mm-dd-yyyy, and the time as hh:mm.

 

Note  MessageID is not mapped to PR_SEARCH_KEY because the SMTP domain has specific requirements on the format of the message identifier which make it impossible to encode an arbitrary MAPI message identifier. Instead, MessageID is mapped to PR_TNEF_CORRELATION_KEYE_0SEH. This property is a transport-defined property that is set by the transport sending an outbound message and used by a transport receiving an inbound message. For more information, see Developing a TNEF-Enabled Transport ProviderWEJDOC.